//
//  ChatTopToolBarView.h
//  Btpin
//
//  Created by Vic on 2019/4/15.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_OPTIONS(NSUInteger, ChatTopToolBarViewType) {
    ChatTopToolBarViewTypeOfDefault             =       0,
    ChatTopToolBarViewTypeOfChangeBusinessCard  =  1 << 1,  // 交换名片
    ChatTopToolBarViewTypeOfApplyForResume      =  1 << 2,  // 申请简历
    ChatTopToolBarViewTypeOfSendResume          =  1 << 3,  // 发送简历
    ChatTopToolBarViewTypeOfVideoInterview      =  1 << 4,  // 视频面试
    ChatTopToolBarViewTypeOfLoseInterestIn      =  1 << 5   // 不感兴趣
};

@protocol ChatTopToolBarViewDelegate <NSObject>
@optional
- (void)chatTopToolBarViewTap:(ChatTopToolBarViewType)chatTopToolBarViewType;
@end

NS_ASSUME_NONNULL_BEGIN

@interface ChatTopToolBarView : UIView

@property (nonatomic, weak) id<ChatTopToolBarViewDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame target:(id)target;

- (void)jiaohuanmingpianCanUse:(BOOL)canUse;
- (void)shenqingjianliCanUse:(BOOL)canUse;
- (void)shipinmianshiCanUse:(BOOL)canUse;
- (void)buganxingquCanUse:(BOOL)canUse;
- (void)fasongjianliCanUse:(BOOL)canUse;

@end

NS_ASSUME_NONNULL_END
